<?php
session_cache_expire(999999999);
if(!isset($_SESSION)) 
{ 
session_start(); 
}  
include '../../operations/connection.php';
$idboard = $_REQUEST['idboard'];
$newlang = $_REQUEST['newlang'];

if ($_REQUEST['newlang'] == "EN") {
	include "../../value/value_en.php";
} else if($_REQUEST['newlang'] == "VN") {
	include "../../value/value_vn.php";
}
else {
	include "../../value/value_kr.php";
}


$sqlselect = mysql_query("SELECT e.IDEmployee, e.FullName,b.* FROM employee e, board b
	WHERE e.IDEmployee = b.IDEmployee AND b.ID='$idboard';");
$result = mysql_fetch_assoc($sqlselect);
$title = $result[Title];
$createDate = $result[CreatedDate];
$author = $result[FullName];
$view = $result[View];
$content = $result[Content];
$idemployee = $result[IDEmployee];
?>

<div style="margin-left: 5px;">
	<div style="height: 10px;"></div>
	<div class="navigation-button" style="background-color: #eef1f3;">
		<a href="#" onclick="onclickbackHome();"><img
			src="images/back-admin.png" /> </a>
		<div><?php echo $l_back?></div>
	</div>
	
	<br style="clear: both" /> <br />
	<table class="view-board" width="100%">
		<tr>
			<td><span class="title-board"><?php echo $title?> </span> <span
				class="time"><?php echo $l_created_date?> : <?php echo $createDate?> </span> <span
				class="time"><?php echo $l_author;?> : <?php echo $author?> </span> <span
				class="time"><?php echo $l_views?> : <?php echo $view?> </span>
			</td>
		</tr>
	</table>
	<div class="content-board">
		<span id="form1:content"><p>
		<?php echo $content?>
			</p> </span>
	</div>
</div>
